package org.jeecg.modules.wangyue.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.wangyue.entity.UserFollow;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.wangyue.entity.UserRoleInfo;


/**
 * @Description: 用户关注表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
public interface IUserFollowService extends IService<UserFollow> {

    /**
     * 分页查询该用户关注人基础信息
     *
     * @param page      分页配置
     * @param userId    用户id
     * @param userType  角色类型
     * @return
     */
    IPage<UserRoleInfo> getUserRoleInfoPage(Page<UserRoleInfo> page, String userId, String userType);



}
